package com.aspose.cells;

public abstract class ExternalConnection {
   ConnectionParameterCollection e;
   String f;
   boolean g = false;
   int h = 0;
   boolean i = false;
   String j;
   int k;
   int l = 0;
   boolean m = false;
   byte n = 0;
   String o;
   boolean p = false;
   String q;
   boolean r = false;
   int s = 1;
   byte t;
   boolean u = false;
   boolean v = false;
   boolean w = false;
   String x;
   String y;
   int z;
   String A;
   ExternalConnectionCollection B;

   public int getType() {
      return this.z;
   }

   public void setType(int value) {
      this.z = value;
   }

   public String getSourceFile() {
      return this.y;
   }

   public void setSourceFile(String value) {
      this.y = value;
   }

   public String getSSOId() {
      return this.x;
   }

   public void setSSOId(String value) {
      this.x = value;
   }

   public boolean getSavePassword() {
      return this.w;
   }

   public void setSavePassword(boolean value) {
      this.w = value;
   }

   public boolean getSaveData() {
      return this.v;
   }

   public void setSaveData(boolean value) {
      this.v = value;
   }

   public boolean getRefreshOnLoad() {
      return this.u;
   }

   byte b() {
      return this.t;
   }

   public int getReConnectionMethod() {
      return this.s;
   }

   public void setReConnectionMethod(int value) {
      this.s = value;
   }

   public boolean getOnlyUseConnectionFile() {
      return this.r;
   }

   public void setOnlyUseConnectionFile(boolean value) {
      this.r = value;
   }

   public String getOdcFile() {
      return this.q;
   }

   public void setOdcFile(String value) {
      this.q = value;
   }

   public boolean isNew() {
      return this.p;
   }

   public void setNew(boolean value) {
      this.p = value;
   }

   public String getName() {
      return this.o;
   }

   public void setName(String value) {
      this.o = value;
   }

   byte c() {
      return this.n;
   }

   public boolean getKeepAlive() {
      return this.m;
   }

   public void setKeepAlive(boolean value) {
      this.m = value;
   }

   public int getRefreshInternal() {
      return this.l;
   }

   public void setRefreshInternal(int value) {
      this.l = value;
   }

   public int getConnectionId() {
      return this.k;
   }

   public String getConnectionDescription() {
      return this.j;
   }

   public void setConnectionDescription(String value) {
      this.j = value;
   }

   public boolean isDeleted() {
      return this.i;
   }

   public void setDeleted(boolean value) {
      this.i = value;
   }

   public int getCredentials() {
      return this.h;
   }

   public void setCredentials(int value) {
      this.h = value;
   }

   public boolean getBackgroundRefresh() {
      return this.g;
   }

   public void setBackgroundRefresh(boolean value) {
      this.g = value;
   }

   String d() {
      return this.f;
   }

   public ConnectionParameterCollection getParameters() {
      if (null == this.e) {
         this.e = new ConnectionParameterCollection(this);
      }

      return this.e;
   }

   void a(ExternalConnection var1) {
      this.getParameters().a(var1.getParameters());
      this.f = var1.d();
      this.g = var1.getBackgroundRefresh();
      this.h = var1.getCredentials();
      this.i = var1.isDeleted();
      this.j = var1.getConnectionDescription();
      this.k = var1.getConnectionId();
      this.l = var1.getRefreshInternal();
      this.m = var1.getKeepAlive();
      this.n = var1.c();
      this.o = var1.getName();
      this.p = var1.isNew();
      this.q = var1.getOdcFile();
      this.r = var1.getOnlyUseConnectionFile();
      this.s = var1.getReConnectionMethod();
      this.t = var1.b();
      this.u = var1.getRefreshOnLoad();
      this.v = var1.getSaveData();
      this.w = var1.getSavePassword();
      this.x = var1.getSSOId();
      this.y = var1.getSourceFile();
      this.z = var1.getType();
      this.A = var1.A;
   }
}
